﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HealthMain.aspx.cs" Inherits="HealthSystem.HealthMain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     <ext:PageManager ID="PageManager1" AutoSizePanelID="regionPanel" HideScrollbar="true"
        runat="server" />
    <ext:RegionPanel ID="regionPanel" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="regionTop" Height="0px" ShowBorder="false" ShowHeader="false" Position="Top"
                Layout="Fit" runat="server">
                <Toolbars>
                    <ext:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
                        <Items>
                            <ext:ToolbarText ID="txtUser" runat="server">
                            </ext:ToolbarText>
                            <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server" />
                            <ext:ToolbarText ID="txtOnlineUserCount" runat="server">
                            </ext:ToolbarText>
                            <ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server" />
                            <ext:ToolbarText ID="txtCurrentTime" runat="server">
                            </ext:ToolbarText>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server" />
                            <ext:Label runat="server" ID="Label1" Text="单位:"></ext:Label>
                            <ext:Label runat="server" ID="unit"></ext:Label>
                            <ext:ToolbarSeparator ID="ToolbarSeparator6" runat="server" />
                            <ext:Label runat="server" ID="Label2" Text="用户:"></ext:Label>
                            <ext:Label runat="server" ID="name"></ext:Label>
                            <ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server" />
                            <ext:Button ID="btnRefresh" runat="server" Icon="Reload" ToolTip="刷新主区域内容" Text="刷新主区域" EnablePostBack="false">
                            </ext:Button>
                            <ext:ToolbarSeparator ID="ToolbarSeparator4" runat="server" />
                           <%-- <ext:Button ID="btnHelp" EnablePostBack="false" Icon="Help" Text="帮助" runat="server">
                            </ext:Button>
                            <ext:ToolbarSeparator runat="server" />--%>
                            <ext:Button ID="btnExit" runat="server" Icon="SystemClose" Text="安全退出" ConfirmText="确定退出系统？"
                                OnClick="btnExit_Click">
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" BodyStyle="background-color:#1C3E7E;"
                        ID="ContentPanel1" runat="server">
                        <div style="font-size: 20px; color:White; font-weight:bold; padding: 5px 10px; ">
                           
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>
            <ext:Region ID="regionLeft" Split="true" EnableSplitTip="true" CollapseMode="Default"
                Icon="Outline" EnableCollapse="true" EnableLargeHeader="false" Width="210px"
                ShowHeader="true" Title="系统菜单" Layout="Fit" Position="Left" runat="server">
                <Items>
                   
                    <ext:Accordion runat="server" ShowBorder="false" ShowHeader="false" ShowCollapseTool="true" RowHeight="100%">
                        <Panes>
                            <ext:AccordionPane runat="server" Title="信息管理" IconUrl="~/images/16/1.png" BodyPadding="2px 5px"
                                Layout="Fit" ShowBorder="false">
                                <Items>
                                     <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true" ID="treeMenu1" OnNodeCommand="NodeAction">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                           <%-- <ext:AccordionPane runat="server" Title="许可管理" IconUrl="~/images/16/4.png" BodyPadding="2px 5px"
                                ShowBorder="false">
                                <Items>
                                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true" ID="treeMenu2"  OnNodeCommand="NodeAction">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                            <ext:AccordionPane ID="AccordionPane1" runat="server" Title="数据管理" IconUrl="~/images/16/4.png" BodyPadding="2px 5px"
                                ShowBorder="false">
                                <Items>
                                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true" ID="treeMenu3"  OnNodeCommand="NodeAction">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                            <ext:AccordionPane ID="AccordionPane2" runat="server" Title="学生数据" IconUrl="~/images/16/4.png" BodyPadding="2px 5px"
                                ShowBorder="false">
                                <Items>
                                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true" ID="treeMenu4"  OnNodeCommand="NodeAction">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>--%>
                        </Panes>
                    </ext:Accordion>
<%--                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false" EnableMultiSelect="true" Visible="false"
                      AutoScroll="true" EnableAnimate="true"  ID="treeMenu1" OnNodeCommand="NodeAction"  AutoLeafIdentification="false" >
                    </ext:Tree>
                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false" EnableMultiSelect="true" Visible="false"
                      AutoScroll="true" EnableAnimate="true"  ID="treeMenu2" OnNodeCommand="NodeAction"  AutoLeafIdentification="false" >
                    </ext:Tree> 
                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false" EnableMultiSelect="true" Visible="false"
                      AutoScroll="true" EnableAnimate="true"  ID="treeMenu3" OnNodeCommand="NodeAction"  AutoLeafIdentification="false" >
                    </ext:Tree> 
                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false" EnableMultiSelect="true" Visible="false"
                      AutoScroll="true" EnableAnimate="true"  ID="treeMenu4" OnNodeCommand="NodeAction"  AutoLeafIdentification="false" >
                    </ext:Tree>  --%>
                </Items>
            </ext:Region>
            <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"
                runat="server">
                <Items>
                    <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                        <Tabs>
                            <ext:Tab ID="Tab1" Title="首页" EnableIFrame="true" IFrameUrl="~/ReportPage/index.aspx"
                                Icon="House" runat="server">
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>
    <ext:Window ID="Window1" runat="server" IsModal="true" Hidden="true" EnableIFrame="true"
        EnableResize="true" EnableMaximize="true" IFrameUrl="about:blank" Width="650px"
        Height="450px">
    </ext:Window>
    </form>
    <script type="text/javascript">

        var DATA = {
           
            'regionPanel': '<%= regionPanel.ClientID %>',
            'regionTop': '<%= regionTop.ClientID %>',
            'mainTabStrip': '<%= mainTabStrip.ClientID %>',
            'txtUser': '<%= txtUser.ClientID %>',
            'btnRefresh': '<%= btnRefresh.ClientID %>',
            'userName': '<%= User.Identity.Name %>',
            'userIP': '<%= Request.UserHostAddress %>',
            'onlineUserCount': 10
        };

    </script>
    <script src="Scripts/main.js" type="text/javascript"></script>
</body>
</html>
